home *** CD-ROM | disk | FTP | other *** search
- REM $INCLUDE: 'fastgraf.bi'
-
- DEFINT A-Z
-
- CONST Pages = 4
-
- SetMemStatus& = SETMEM(-(Pages-2)*(32768+16))
-
- IF FGtestmode(11,Pages) = 0 THEN
- PRINT "This program requires Hercules monochrome graphics."
- STOP
- END IF
-
- OldMode = FGgetmode
- FGsetmode 11
-
- FOR Page = 0 TO Pages-1
- Status = FGallocate(Page)
- FGsetpage Page
- FGsetcolor 7
- FGrect 0, FGgetmaxx, 0, FGgetmaxy
- FGsetcolor 0
- FGlocate 12, 37
- CharString$ = "Page" + STR$(Page)
- FGtext CharString$, 6
- NEXT
-
- FOR Page = 0 TO Pages-1
- FGsetvpage Page
- FGwaitkey
- Status = FGfreepage(Page)
- NEXT
-
- FGsetmode OldMode
- FGreset
-
- END